package com.nanhang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nanhang.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface Studentmapper extends BaseMapper<Student> {

    @Select("select  sid,sname,sex,age,addr,cid from  student")
    List<Student> list();
}
